package com.sun.showcase.client.query.mall;

import com.sun.showcase.client.domain.mall.Advert;
import com.sun.showcase.pojo.SearchModel;
import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;

import java.io.Serializable;
import java.util.HashMap;
import java.util.Map;

public class AdvertQuery extends SearchModel<Advert> implements Serializable {
    
  private static final long serialVersionUID = 3148176768559230877L;
    

	  /**
     * ID       db_column: id 
     */	
	private String id;
	  /**
     * 广告名称       db_column: name
     */
	private String name;
	  /**
     * 状态（1上线0下线）       db_column: status
     */
	private String status;
	  /**
     * 类型（0 店铺广告1分类广告 2商品广告）       db_column: type
     */
	private String type;
	  /**
     * 广告图片       db_column: ad_image
     */
	private String adImage;
	  /**
     * 排序号       db_column: order_num
     */
	private Integer orderNum;
	  /**
     * 广告位置       db_column: location
     */
	private String location;
	  /**
     * 开始时间       db_column: start_time
     */
	private java.util.Date startTime;
	  /**
     * 结束时间       db_column: stop_time
     */
	private java.util.Date stopTime;
	  /**
     * 备注内容       db_column: remark
     */
	private String remark;
	  /**
     * 店铺id       db_column: shop_id
     */
	private String shopId;
	  /**
     * 店铺名       db_column: shop_name
     */
	private String shopName;
	  /**
     * 分类id       db_column: classify_id
     */
	private String classifyId;
	  /**
     * 分类名       db_column: classify_name
     */
	private String classifyName;
	  /**
     * 商品id       db_column: goods_id
     */
	private String goodsId;
	  /**
     * 商品名       db_column: goods_name
     */
	private String goodsName;
	  /**
     * 创建时间       db_column: create_date
     */
	private java.util.Date createDate;
	/**
	 * 封装修改时的where条件  key为数据库字段值  value为条件值
	 * */
	private Map<String,Object> searchMap = new HashMap<String,Object>();
	/**
	 * 数据表主键id的数组
	 * */
	private String ids[];

	private String activeTime;


	public String getActiveTime() {
		return activeTime;
	}

	public void setActiveTime(String activeTime) {
		this.activeTime = activeTime;
	}

	public String getId() {
		return this.id;
	}

	public void setId(String value) {
		this.id = value;
	}

	public String getName() {
		return this.name;
	}

	public void setName(String value) {
		this.name = value;
	}

	public String getStatus() {
		return this.status;
	}

	public void setStatus(String value) {
		this.status = value;
	}

	public String getType() {
		return this.type;
	}

	public void setType(String value) {
		this.type = value;
	}

	public String getAdImage() {
		return this.adImage;
	}

	public void setAdImage(String value) {
		this.adImage = value;
	}

	public Integer getOrderNum() {
		return this.orderNum;
	}

	public void setOrderNum(Integer value) {
		this.orderNum = value;
	}

	public String getLocation() {
		return this.location;
	}

	public void setLocation(String value) {
		this.location = value;
	}

	public java.util.Date getStartTime() {
		return this.startTime;
	}

	public void setStartTime(java.util.Date value) {
		this.startTime = value;
	}

	public java.util.Date getStopTime() {
		return this.stopTime;
	}

	public void setStopTime(java.util.Date value) {
		this.stopTime = value;
	}

	public String getRemark() {
		return this.remark;
	}

	public void setRemark(String value) {
		this.remark = value;
	}

	public String getShopId() {
		return this.shopId;
	}

	public void setShopId(String value) {
		this.shopId = value;
	}

	public String getShopName() {
		return this.shopName;
	}

	public void setShopName(String value) {
		this.shopName = value;
	}

	public String getClassifyId() {
		return this.classifyId;
	}

	public void setClassifyId(String value) {
		this.classifyId = value;
	}

	public String getClassifyName() {
		return this.classifyName;
	}

	public void setClassifyName(String value) {
		this.classifyName = value;
	}

	public String getGoodsId() {
		return this.goodsId;
	}

	public void setGoodsId(String value) {
		this.goodsId = value;
	}

	public String getGoodsName() {
		return this.goodsName;
	}

	public void setGoodsName(String value) {
		this.goodsName = value;
	}

	public java.util.Date getCreateDate() {
		return this.createDate;
	}

	public void setCreateDate(java.util.Date value) {
		this.createDate = value;
	}

	public Map<String, Object> getSearchMap() {
		return searchMap;
	}

	public void setSearchMap(Map<String, Object> searchMap) {
		this.searchMap = searchMap;
	}

	public String[] getIds() {
		return ids;
	}

	public void setIds(String[] ids) {
		this.ids = ids;
	}

	public String toString() {
		return ToStringBuilder.reflectionToString(this, ToStringStyle.DEFAULT_STYLE);
	}
	
}

